{config_load file="$language/affiliate.conf" section="affiliate_sales"}
<div class="boxx">
<div class="b_tit1">
 <div><div><div><h3>{#heading_title#}</h3></div></div></div>
</div>
<div class="rcon1">
 <div class="rcon2">
   <div class="rcon3">
   <div class="zx">
   {#text_affiliate_header#}&nbsp;&nbsp;<b>{$affiliate_sales_split_numbers}</b><br />
   {#text_information_sales_total#}&nbsp;&nbsp;<b>{$affiliate_sales_total}&nbsp;&nbsp;{#text_information_sales_total2#}</b>
   </div>
   <div class="hr"></div>
   <div class="zx">{$FORM_ACTION}<table><tr><td>{#text_affiliate_period#}</td><td>{$period_selector}</td><td>{#text_affiliate_status#}</td><td>{$status_selector}</td><td>{#text_affiliate_level#}</td><td>{$level_selector}</td></tr></table></form></div>
   <div class="hr"></div>
   <div class="zx">
     <table class="table" cellspacing="1">
      <tr>
        <th>{#table_heading_date#}</th>
        <th>{#table_heading_value#}</th>
        <th>{#table_heading_percentage#}</th>
        <th>{#table_heading_level#}</th>
        <th>{#table_heading_sales#}</th>
        <th>{#table_heading_status#}</th>
      </tr>
      {if $affiliate_sales_table neq ''}
        {$affiliate_sales_table}
      {else}
        <tr><td colspan="6">{#text_no_sales#}</td></tr>
      {/if}
     </table>
    </div>
    <div class="sd">
      <span class="r">{$affiliate_sales_links}</span><span class="l">{$affiliate_sales_count}</span>
    </div>
   </div>
 </div>
</div>
<div class="bf"><div><div></div></div></div>
</div>